package com.zf.easyexcel.entity;

import lombok.Getter;
import lombok.Setter;

/**
 * Excel合并信息
 * @author Zhou Feng
 */
@Getter
@Setter
public class SheetMergeInfo {
    /**
     * 列属性名
     */
    private String fieldName = "";
    /**
     * 合并开始行
     */
    private Integer startIndex;
    /**
     * 合并结束行
     */
    private Integer endIndex;
    /**
     * 合并后的名称
     */
    private String mergedName;

    public SheetMergeInfo() {
    }

    public SheetMergeInfo(String fieldName, Integer startIndex, Integer endIndex, String mergedName) {
        this.fieldName = fieldName;
        this.startIndex = startIndex;
        this.endIndex = endIndex;
        this.mergedName = mergedName;
    }
}
